package com.ruoyi.season.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.season.domain.PlaySeasonRecord;
import com.ruoyi.season.domain.vo.PlaySeasonInfoVo;

/**
 * 赛季记录Service接口
 *
 * @author ruoyi
 * @date 2024-01-14
 */
public interface IPlaySeasonRecordService extends IService<PlaySeasonRecord>
{
    /**
     * 查询赛季记录
     *
     * @param id 赛季记录主键
     * @return 赛季记录
     */
    public PlaySeasonRecord selectPlaySeasonRecordById(String id);

    /**
     * 查询赛季记录列表
     *
     * @param playSeasonRecord 赛季记录
     * @return 赛季记录集合
     */
    public List<PlaySeasonRecord> selectPlaySeasonRecordList(PlaySeasonRecord playSeasonRecord);

    /**
     * 新增赛季记录
     *
     * @param playSeasonRecord 赛季记录
     * @return 结果
     */
    public int insertPlaySeasonRecord(PlaySeasonRecord playSeasonRecord);

    /**
     * 修改赛季记录
     *
     * @param playSeasonRecord 赛季记录
     * @return 结果
     */
    public int updatePlaySeasonRecord(PlaySeasonRecord playSeasonRecord);

    /**
     * 批量删除赛季记录
     *
     * @param ids 需要删除的赛季记录主键集合
     * @return 结果
     */
    public int deletePlaySeasonRecordByIds(String[] ids);

    /**
     * 删除赛季记录信息
     *
     * @param id 赛季记录主键
     * @return 结果
     */
    public int deletePlaySeasonRecordById(String id);

    List<PlaySeasonInfoVo> selectAppuserSeasonByUserId(IPage<PlaySeasonInfoVo> page, String loginUserId);
}
